﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200024F RID: 591
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueLeaveCsReq : IMessage<ChessRogueLeaveCsReq>, IMessage, IEquatable<ChessRogueLeaveCsReq>, IDeepCloneable<ChessRogueLeaveCsReq>, IBufferMessage
	{
		// Token: 0x170007D7 RID: 2007
		// (get) Token: 0x06001AC1 RID: 6849 RVA: 0x0004D393 File Offset: 0x0004B593
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueLeaveCsReq> Parser
		{
			get
			{
				return ChessRogueLeaveCsReq._parser;
			}
		}

		// Token: 0x170007D8 RID: 2008
		// (get) Token: 0x06001AC2 RID: 6850 RVA: 0x0004D39A File Offset: 0x0004B59A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueLeaveCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170007D9 RID: 2009
		// (get) Token: 0x06001AC3 RID: 6851 RVA: 0x0004D3AC File Offset: 0x0004B5AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueLeaveCsReq.Descriptor;
			}
		}

		// Token: 0x06001AC4 RID: 6852 RVA: 0x0004D3B3 File Offset: 0x0004B5B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueLeaveCsReq()
		{
		}

		// Token: 0x06001AC5 RID: 6853 RVA: 0x0004D3BB File Offset: 0x0004B5BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueLeaveCsReq(ChessRogueLeaveCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001AC6 RID: 6854 RVA: 0x0004D3D4 File Offset: 0x0004B5D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueLeaveCsReq Clone()
		{
			return new ChessRogueLeaveCsReq(this);
		}

		// Token: 0x06001AC7 RID: 6855 RVA: 0x0004D3DC File Offset: 0x0004B5DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueLeaveCsReq);
		}

		// Token: 0x06001AC8 RID: 6856 RVA: 0x0004D3EA File Offset: 0x0004B5EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueLeaveCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x06001AC9 RID: 6857 RVA: 0x0004D408 File Offset: 0x0004B608
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001ACA RID: 6858 RVA: 0x0004D42E File Offset: 0x0004B62E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001ACB RID: 6859 RVA: 0x0004D436 File Offset: 0x0004B636
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001ACC RID: 6860 RVA: 0x0004D43F File Offset: 0x0004B63F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001ACD RID: 6861 RVA: 0x0004D458 File Offset: 0x0004B658
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001ACE RID: 6862 RVA: 0x0004D47E File Offset: 0x0004B67E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueLeaveCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001ACF RID: 6863 RVA: 0x0004D49B File Offset: 0x0004B69B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001AD0 RID: 6864 RVA: 0x0004D4A4 File Offset: 0x0004B6A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000B31 RID: 2865
		private static readonly MessageParser<ChessRogueLeaveCsReq> _parser = new MessageParser<ChessRogueLeaveCsReq>(() => new ChessRogueLeaveCsReq());

		// Token: 0x04000B32 RID: 2866
		private UnknownFieldSet _unknownFields;
	}
}
